package com.googlecode.synccontacts.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import com.googlecode.synccontacts.R;
import com.googlecode.synccontacts.interfaces.SocialNetwork;
import com.googlecode.synccontacts.listeners.OpenSettingListener;

public class MainActivity extends Activity {
    private Button oSync, oSetting;
    private Button vSync, vSetting;
    private Button fSync, fSetting;

    /**
     * Called when the activity is first created.
     */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        oSync = (Button) findViewById(R.id.oSync);
        vSync = (Button) findViewById(R.id.vSync);
        fSync = (Button) findViewById(R.id.fSync);
        oSetting = (Button) findViewById(R.id.oSetting);
        vSetting = (Button) findViewById(R.id.vSetting);
        fSetting = (Button) findViewById(R.id.fSetting);
        oSetting.setOnClickListener(new OpenSettingListener(SocialNetwork.ODNOKLASSNIKI_TYPE,this));
    }
}
